namespace Xioa_UI.DataOrigin;

public class DateTimeHelper
{
    /// <summary>
    /// 判断月份是否相等
    /// </summary>
    /// <param name="dt1"></param>
    /// <param name="dt2"></param>
    /// <returns></returns>
    public static bool MonthIsEqual(DateTime dt1, DateTime dt2)
    {
        var flag = dt1.Year == dt2.Year && dt1.Month == dt2.Month;

        return flag;
    }
}